
require("common.base.luaext")


local x1 = 0
local y1 = 0

local x2 = 1
local y2 = -1


local rot = math.getRot(x1,y1,x2,y2)
print(rot)
print(rot/math.pi * 180)